package org.example.Server.model.question;

import lombok.Data;

import java.util.List;

/**
 * 专门用于老师对试题库——选择题（单选多选）的更新（对某些选项更新、新增、删除）
 */
@Data
public class QUpdate extends Question {
    /**
     * 父类
     * Integer tech_id;——
     * Integer qs_id;——
     * String qs_title;
     * String qs_type;——
     * String ans;//正确答案/参考答案——
     * <p>
     * String difficulty;//难度——
     * Integer point_id;//方向id——
     * List<Option> options;//新增列表
     */
    List<Option> update_options;
    List<Option> delete_options;

    @Override
    public String toString() {
        return "QUpdate{" +
                "delete_options=" + delete_options +
                ", tech_id=" + tech_id +
                ", qs_id=" + qs_id +
                ", qs_title='" + qs_title + '\'' +
                ", qs_type='" + qs_type + '\'' +
                ", ans='" + right_ans + '\'' +
                ", options=" + options +
                ", update_options=" + update_options +
                ", difficulty='" + difficulty + '\'' +
                ", point_id=" + point_id +
                ", direction_title='" + point_content + '\'' +
                '}';
    }

}

